<%@page contentType="text/html; charset=utf-8"%>
<script type="text/javascript">
	
	$(document).ready(function() {
		dispalyMenuValue(workflowRole);
	});
	function dispalyMenuValue(workflowRole){
		if(workflowRole=='workflowApprovers'){
			$("#managerDashboard_span").show();
			$("#amountapproved_span").show();
			$("#eventapproved_span").show();
			
		}else if(workflowRole=='workflowAuditors'){
			$("#amountaudit_span").show();
			$("#eventaudit_span").show();
		}else{
			$("#amountapply_span").show();
			$("#eventapply_span").show();
			$("#amountapply_result_span").show();
			$("#eventapply_result_span").show();
		}
	}
	
</script>
<div id="leftside" >
	<img src="${pageContext.request.contextPath}/themed/images/index2_07.jpg" width="254" height="64" />
	<div id="var">
		<dl id="managerDashboard_span" style="display: none;">
			<dt>
				董事长驾驶仓
			</dt>
			<dd style="display: block;">
				<a href="#" id="IncomeDownchart" onclick="selectedMenu(this);">收入下滑仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="FundsShortageChart" onclick="selectedMenu(this);">资金短缺仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="MaterialShortageChart" onclick="selectedMenu(this);">库存断货仪表</a>
			</dd>
			<dd style="display: block;">		
				<a href="#" id="TargetShortageChart" onclick="selectedMenu(this);">目标缺失仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#"  id="BadDebtsAngularGaugeChart" onclick="selectedMenu(this);">呆账死帐仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="ExceedPowerAngularGaugeChart"  onclick="selectedMenu(this);">审批越权仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="PropertyRunoutAngularGaugeChart" onclick="selectedMenu(this);">财产流失仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="ProfitDownChart" onclick="selectedMenu(this);">利润下滑仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="SlipAngularGaugeChart" onclick="selectedMenu(this);">报表误差仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="FinancialEmployersGaugeChart" onclick="selectedMenu(this);">财务人员仪表</a>
			</dd>
			
			<dd style="display: block;">
				<a href="#" id="FinancialDepartmentGaugeChart" onclick="selectedMenu(this);">横向沟通仪表</a>
			</dd>
			<dd style="display: block;">
				<a href="#" id="WarningValueChangeGaugeChart" onclick="selectedMenu(this);">预警值变更仪表</a>
			</dd>

		</dl>
		<dl>
			<dt>
				资金申请流程
			</dt>
			
			<dd style="display: none;" id="amountapply_span">
				<a href="${pageContext.request.contextPath}/views/user/moneyaudit_apply_index.jsp" target="_blank">资金申请</a>
			</dd>
			<dd style="display: none;" id="amountapply_result_span">
				<a href="${pageContext.request.contextPath}/views/user/moneyaudit_approveResult_index.jsp" target="_blank">资金申请结果</a>
			</dd>
			<dd style="display: none;" id="amountaudit_span">
				<a href="${pageContext.request.contextPath}/views/user/moneyaudit_approvelist_index.jsp" target="_blank" >资金流程审核</a>
			</dd>
			<dd style="display: none;" id="amountapproved_span">
				<a href="${pageContext.request.contextPath}/views/user/moneyaudit_approvelist_index.jsp" target="_blank">资金流程审批</a>
			</dd>
		</dl>
		
		<dl>
			<dt>
				日常工作流程
			</dt>
			<dd style="display: none;" id="eventapply_span">
				<a href="${pageContext.request.contextPath}/views/user/eventaudit_apply_index.jsp" target="_blank">事件申请</a>
			</dd>
			<dd style="display: none;" id="eventapply_result_span">
				<a href="${pageContext.request.contextPath}/views/user/eventaudit_approveResult_index.jsp" target="_blank">事件申请结果</a>
			</dd>
			<dd style="display: none;" id="eventaudit_span">
				<a href="${pageContext.request.contextPath}/views/user/eventaudit_approvelist_index.jsp" target="_blank">事件流程审核</a>
			</dd>
			<dd style="display: none;" id="eventapproved_span">
				<a href="${pageContext.request.contextPath}/views/user/eventaudit_approvelist_index.jsp" target="_blank">事件流程审批</a>
			</dd>
			
		</dl>
		<dl>
			<dt>
				审批结果
			</dt>
			<dd style="display: block;" id="eventapply_span">
				<a href="${pageContext.request.contextPath}/views/user/audit_result_query_list_index.jsp" target="_blank">审批结果列表</a>
			</dd>
		</dl>
		<dl>
			<dt>
				财务分析师审核及指导意见
			</dt>
			
			<dd style="display: block;" id="doc_span">
				<a href="#" id="docs" onclick="selectedMenu(this);">财务文档</a>
			</dd>
			
		</dl>
	</div>
	<img src="${pageContext.request.contextPath}/themed/images/index2_17.jpg" width="254" height="42" />
</div>
